package com.start_eternity.oasissafewalk.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Student {

    @TableId(type = IdType.AUTO)
    @JsonProperty("sId")
    private Integer sId; //ID

    @JsonProperty("sName")
    private String sName; //姓名

    @JsonProperty("sAge")
    private Integer sAge; //年龄

    @JsonProperty("sGender")
    private String sGender; //性别

    @JsonProperty("schoolName")
    private String schoolName; //学校名

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime; //创建时间
}